package com.asia5b.a5mall.order.adapter

import android.widget.ImageView
import android.widget.TextView
import com.asia5b.a5bmall.same.databinding.GoodsitemAfterdetailBinding
import com.asia5b.a5mall.middleware.model.shop.AbsGoodsModel
import com.asia5b.a5mall.middleware.utils.CurrencyPriceBuilder3
import com.asia5b.a5mall.middleware.utils.startGoodsDetailActivity
import com.asia5b.a5mall.order.R
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder

/**
 * Created by zhangyuncai on 2020/5/9.
 */
class AfterDetailGoodsAdapter(var list: ArrayList<AbsGoodsModel>) :
        BaseQuickAdapter<AbsGoodsModel, BaseDataBindingHolder<GoodsitemAfterdetailBinding>>(R.layout.goodsitem_afterdetail, list) {


    override fun convert(helper: BaseDataBindingHolder<GoodsitemAfterdetailBinding>, item: AbsGoodsModel) {
        val itemAfterdetailGoodsadapterBinding = helper.dataBinding!!
        itemAfterdetailGoodsadapterBinding.model = item
    }
}